﻿@if (Request.IsAuthenticated)
{

        <ul class="nav navbar-nav navbar-right">
            <li>
                
            </li>
            <li>
                <a href="#" title="Manage"> Olá  @User.Identity.Name  </a>
            </li>
            <li><a href="/Usuarios/Logoff">Log off</a></li>
        </ul>
}
else
{
    <ul class="nav navbar-nav navbar-right">
        <li>@Html.ActionLink("Cadastro", "Cadastro", "Usuarios", routeValues: null, htmlAttributes: new { id = "registerLink" })</li>
        <li>@Html.ActionLink("Login", "Login", "Usuarios", routeValues: null, htmlAttributes: new { id = "loginLink" })</li>
    </ul>
}

